/*
 * @Author: C.
 * @Date: 2021-07-12 19:45:54
 * @LastEditTime: 2021-08-24 15:16:49
 * @Description: file content
 */
import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
// import { t } from '/@/hooks/web/useI18n';

const test: AppRouteModule = {
  path: '/test',
  name: 'test',
  component: LAYOUT,
  redirect: '/test/test1',
  meta: {
    orderNo: 1,
    icon: 'ion:grid-outline',
    title: '测试',
  },
  children: [
    {
      path: 'test1',
      name: 'test1',
      component: () => import('/@/views/test/test_1/index.vue'),
      meta: {
        affix: true,
        title: '测试1',
      },
    },
    {
      path: 'test2',
      name: 'test2',
      component: () => import('/@/views/test/test_2/index.vue'),
      meta: {
        affix: true,
        title: '测试2',
      },
    },
    {
      path: 'test3',
      name: 'test3',
      component: () => import('/@/views/test/test_3/index.vue'),
      meta: {
        affix: true,
        title: '测试3',
      },
    },
    // {
    //   path: 'workbench',
    //   name: 'Workbench',
    //   component: () => import('/@/views/dashboard/workbench/index.vue'),
    //   meta: {
    //     title: t('routes.dashboard.workbench'),
    //   },
    // },
  ],
};

export default test;
